import './assets/css/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)

//导入要挂载的全局组件
import FooterCom from './components/FooterCom.vue'
//将导入的组件挂载到vue的模版上，就可以实现全局调用
app.component("FooterCom",FooterCom)

//将创建的pinia实例挂载到vue实例上
app.use(createPinia())
//将路由配置挂载到vue实例上
app.use(router)

app.mount('#app')
